package com.baidu.common.dao.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

import java.io.Serializable;

/**
 * @author SQA-M
 */
@Data
@TableName(value = "t_user")
public class User extends Model<User> {

  @TableId(value = "id",type = IdType.AUTO)
  private Integer id;
  private String username;
  private String name;
  private String password;
  private String salt;
  private String phone;
  private String tips;
  private long state;
  private java.sql.Timestamp createdTime;
  private java.sql.Timestamp updatedTime;
    @Override
    protected Serializable pkVal() {
        return null;
    }
}
